import styled from 'styled-components'

const menuColorDefault = 'rgb(0, 204, 255)'

export const Wrapper = styled.div`
  width: 200px;
  height: 100%;
  background-color: rgb(5, 45, 96);
  overflow: hidden;
  position: relative;
`

export const ImgWrapper = styled.div`
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(rgb(20, 158, 232), rgb(10, 82, 172));
  text-align: center;
  img {
    width: 80%;
  }
`

export const TabWrapper = styled.div`
  user-select: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 131px;
  bottom: 95px;
  overflow: hidden;
  border-bottom: 1px solid rgb(9, 77, 163);
`

export const Tabs = styled.div`
  .tab {
    line-height: 21px;
    display: block;
    color: white;
    padding: 10px 0;
    padding-left: 30px;
    cursor: pointer;
    font-size: 14px;
    &.active {
      color: ${menuColorDefault};
    }
    &:hover {
      color: ${menuColorDefault};
    }
    .iconfont {
      margin-right: 10px;
    }
  }
`

export const PersonWrapper = styled.div`
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 0;
`

export const PersonInfo = styled.div`
  width: 170px;
  height: 30px;
  line-height: 25px;
  margin: 5px auto;
  border: 1px solid ${menuColorDefault};
  border-radius: 15px;
  text-align: center;
  color: white;
  font-size: 14px;
  padding-top: 1px;
  cursor: pointer;
  &:hover {
    background-color: ${menuColorDefault};
  }
`
